package com.dream.springmvc.filter.operators;

import lombok.Getter;

import java.util.List;

/**
 * @author panwen
 */
@Getter
public enum ListStringOperator {
    exist(Operators::listContainsOp),
    notExist(Operators::listNotContainsOp),
    eq(Operators::eqOp),
    ne(Operators::neOp),
    empty(Operators::emptyOp),
    notEmpty(Operators::notEmptyOp);

    private final OpFunc<List<String>> opf;
    ListStringOperator(OpFunc<List<String>> opf) {
        this.opf = opf;
    }
}
